<link> to stylesheet won't work because of missing xmlns #26883
Labels
Content:SVG
SVG docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_and_CSS
What specific section or headline is this issue about?
First example
What information was incorrect, unhelpful, or incomplete?
<link>
needsxmlns="http://www.w3.org/1999/xhtml" to work
, since<link>
is not a SVG element. The existing xmlns:xlink in the example is not sufficent.What did you expect to see?
Either
xmlns:xhtml="http://www.w3.org/1999/xhtml"
in the SVG element and xhtml:link... to reference the stylesheet, or a local namespace declaration like this:<link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet" href="style8.css" type="text/css" />
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/svg/tutorial/svg_and_css
The text was updated successfully, but these errors were encountered: